package com.feisi.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * 活动实体类
 */
public class Activity implements Serializable {

    private Integer id;
    private String ac_name;//活动名称
    private String ac_object;//关联对象,(线索或客户)
    private String ac_creator;//创建人session中获得
    private String ac_type;//活动类型(广告,营销,邮件等)
    private String ac_start_time;//开始时间
    private String ac_end_time;//截止时间
    private Float ac_budget;//活动预算,钱
    private String ac_site;//活动地址
    private String ac_create_time;//创建时间,new一个date
    private String ac_introduction;//简介

    public Activity() {
    }

    public Activity(Integer id, String ac_name, String ac_object,
                    String ac_creator, String ac_type,
                    String ac_start_time, String ac_end_time, Float ac_budget,
                    String ac_site, String ac_create_time, String ac_introduction) {
        this.id = id;
        this.ac_name = ac_name;
        this.ac_object = ac_object;
        this.ac_creator = ac_creator;
        this.ac_type = ac_type;
        this.ac_start_time = ac_start_time;
        this.ac_end_time = ac_end_time;
        this.ac_budget = ac_budget;
        this.ac_site = ac_site;
        this.ac_create_time = ac_create_time;
        this.ac_introduction = ac_introduction;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAc_name() {
        return ac_name;
    }

    public void setAc_name(String ac_name) {
        this.ac_name = ac_name;
    }

    public String getAc_object() {
        return ac_object;
    }

    public void setAc_object(String ac_object) {
        this.ac_object = ac_object;
    }

    public String getAc_creator() {
        return ac_creator;
    }

    public void setAc_creator(String ac_creator) {
        this.ac_creator = ac_creator;
    }

    public String getAc_type() {
        return ac_type;
    }

    public void setAc_type(String ac_type) {
        this.ac_type = ac_type;
    }

    public String getAc_start_time() {
        return ac_start_time;
    }

    public void setAc_start_time(String ac_start_time) {
        this.ac_start_time = ac_start_time;
    }

    public String getAc_end_time() {
        return ac_end_time;
    }

    public void setAc_end_time(String ac_end_time) {
        this.ac_end_time = ac_end_time;
    }

    public Float getAc_budget() {
        return ac_budget;
    }

    public void setAc_budget(Float ac_budget) {
        this.ac_budget = ac_budget;
    }

    public String getAc_site() {
        return ac_site;
    }

    public void setAc_site(String ac_site) {
        this.ac_site = ac_site;
    }

    public String getAc_create_time() {
        return ac_create_time;
    }

    public void setAc_create_time(String ac_create_time) {
        this.ac_create_time = ac_create_time;
    }

    public String getAc_introduction() {
        return ac_introduction;
    }

    public void setAc_introduction(String ac_introduction) {
        this.ac_introduction = ac_introduction;
    }

    @Override
    public String toString() {
        return "Activity{" +
                "id=" + id +
                ", ac_name='" + ac_name + '\'' +
                ", ac_object='" + ac_object + '\'' +
                ", ac_creator='" + ac_creator + '\'' +
                ", ac_type='" + ac_type + '\'' +
                ", ac_start_time='" + ac_start_time + '\'' +
                ", ac_end_time='" + ac_end_time + '\'' +
                ", ac_budget=" + ac_budget +
                ", ac_site='" + ac_site + '\'' +
                ", ac_create_time='" + ac_create_time + '\'' +
                ", ac_introduction='" + ac_introduction + '\'' +
                '}';
    }
}
